<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>vue</title>
        <!-- 引入vue文件-->
		<script src="http://static.runoob.com/assets/vue/1.0.11/vue.min.js"></script>
	</head>
	<body>
		<div id="vue">
			{{5+5}}<br>
		    {{ ok ? 'YES' : 'NO' }}<br>
		    {{ message.split('').reverse().join('') }}
		</div>
		<script>
			new Vue({
			  el: '#vue',
			  data: {
			    ok: true,
			    message: '123456'
			  }
			})
		</script>
	</body>
</html>
